package cn.uniqueinfo.dp.service.impl;

import cn.uniqueinfo.dp.mapper.DeptMapper;
import cn.uniqueinfo.dp.service.IDeptService;
import cn.uniqueinfo.dp.service.base.BaseServiceImpl;
import cn.uniqueinfo.dp.vo.DeptVO;
import org.springframework.stereotype.Service;
/**
 * @author:朱元勋
 * @mail:395910063@qq.com
 * @date:2019-01-29 14:47:12
 * @description: 部门
 */
@Service
public class DeptServiceImpl extends BaseServiceImpl<DeptVO> implements IDeptService {
    private DeptMapper mapper;

    public DeptServiceImpl(DeptMapper mapper) {
        this.mapper = mapper;
        this.baseMapper = mapper;
    }

    @Override
    public Integer updatePath(String path, Long id) {
        return this.mapper.updatePath(path, id);
    }
}
